<%--
  Created by IntelliJ IDEA.
  User: 徐永岳
  Date: 2023/3/16
  Time: 23:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>
<h1>index page</h1>
<form action="/employee" method="post">
    <input type="hidden" name="action" value="sign_in">
    <input type="number" name="id" placeholder="ID" required>
    <br>
    <input type="password" name="password" placeholder="PASSWORD" required>
    <br>
    <input type="submit" value="Sign in">
    <a href="sign_up.jsp">Sign up</a>
</form>
<h1 style="color: #0f5132;">${requestScope.message}</h1>
<p style="color: #842029;">${requestScope.error}</p>
</body>
</html>